#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include "MountWidget.h"
#include <QLabel>
#include <QTimer>

QT_BEGIN_NAMESPACE
namespace Ui { class Dialog; }
QT_END_NAMESPACE


class AnalogClock : public QWidget
{
    Q_OBJECT

public:
    AnalogClock(QWidget *parent = nullptr);

protected:
    void paintEvent(QPaintEvent *event) override;

private:
    QTimer *timer;
};



class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = nullptr);
    ~Dialog();

    bool isRemovableDrive(const QString &drivePath);

private slots:

    void on_btnLogin_clicked();

    void on_btnCancel_clicked();

    void on_act_eye_triggered();

    void updateDisplay();

private:
    Ui::Dialog *ui;
    Widget *w;
    CustomWindow *cust;
};



#endif // DIALOG_H
